package jacksondemo.bean;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.List;

/**
 * @author rensiyu
 **/
public class Home {
	private String homeName;
	@JsonIgnore
	private String address;
	private List<Person> personList;
	
	public Home() {
	}
	
	public Home(String homeName, String address, List<Person> personList) {
		this.homeName = homeName;
		this.address = address;
		this.personList = personList;
	}
	
	public String getHomeName() {
		return homeName;
	}
	
	public void setHomeName(String homeName) {
		this.homeName = homeName;
	}
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}
	
	public List<Person> getPersonList() {
		return personList;
	}
	
	public void setPersonList(List<Person> personList) {
		this.personList = personList;
	}
}
